/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.univcasa.managing;

import com.univcasa.db.model.CompteEtudiant;
import com.univcasa.db.model.ComptePersonnel;
import java.util.HashMap;
import java.util.List;

/**
 *
 * @author issam
 */
public interface LdapDBManager {

    public boolean ajoutCompteEtudiantLdap(CompteEtudiant etudiant);
    public boolean majCompteEtudiantLdap(CompteEtudiant etudiant);
    public CompteEtudiant recupererEtudiantByApogee(String apogee);
    public List ajoutComptesLdap(List comptes);
    public List recupererListeApogeeEtudiants();
    public List recupererListeUids(String nom, String prenom);
    public List recupererListeUids(String uidPattern);
    public List recupererEtudiantErrored();
    public List recupererListeStudentsLdap();

    public boolean ajoutComptePersLdap(ComptePersonnel pers);
    public boolean majComptePersLdap(ComptePersonnel pers);
    public ComptePersonnel recupererPersBySom(String som);
    public List ajoutComptesPersLdap(List comptes);
    public List recupererListesomPers();
    //public List recupererListeUids(String nom, String prenom);
    //public List recupererListeUidsEtudiants(String uidPattern);
    public List recupererListePersLdap();

    public List searchStdsByCriteres(HashMap criteres);
    
}
